home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
- Path: ntcs-ip8.uchicago.edu!user
- From: j-jahnke@uchicago.edu (Jerome Jahnke)
- Subject: Re: Young programmers read me.
- X-Nntp-Posting-Host: ntcs-ip8.uchicago.edu
- Message-ID: <j-jahnke-0604960016160001@ntcs-ip8.uchicago.edu>
- Sender: news@midway.uchicago.edu (News Administrator)
- Organization: BSD Academic Computing
- X-Newsreader: Yet Another NewsWatcher 2.2.0b4
- References: <4icpp9$7hr@barad-dur.nas.com> <4imqe4$cj3@ping1.ping.be> <1996Mar23.224853.116513@kuhub.cc.ukans.edu> <4j52hn$ikb@news.ios.com> <Pine.OSF.3.91.960403112207.17337H-100000@bud.cc.swin.edu.au> <aidan-0404961557290001@meathook.intac.com> <3165AD94.6F3A@datalytics.com>
- Date: Sat, 6 Apr 1996 06:16:16 GMT
-
- In article <3165AD94.6F3A@datalytics.com>, Rob Stewart
- <stew@datalytics.com> wrote:
-
- > Aidan Cully wrote:
- > > I also think that speed is essential for most commercial applications,
- > > and this alone is what makes C/C++ a widely used Commercial application,
- > > but I get upset when people confuse "popular" with "good." I'm writing a
- > > game in C++ right now because the speed is so good, but just as a
- > > programming language, it really blows.
- >
- > There are idioms and patterns for most things you want to do
- > with C++ that alleviate much of what bothers you about the
- > language and that reduce errors and performance problems. You
- > simply have to do a little reading and research to learn about
- > them.
-
- I have to second this, but in reality, the issue should never be
- languages, bad programmers write bad code regardless of the language. I
- would not have like to learn to program if C had been the only language
- (well this not exactly true as I learned assembler first, for the 6502
- yeesh.) But C++ is a nice mix of features and bare silicon access. And is
- a nice language to work with, there are quite a few things I would like to
- see it do, but then we all have our own quirks don't we.
-
- C++ also by default enforces a lot of good habits about OO Programming,
- unfortunately it enforces some bad ones too. But hey, you can't have it
- all now can you?
-
- > You may not like the symbols used in C++, but I like the code
- > compression they provide. Typing '{' is much faster than typing
- > 'BEGIN.' Readability is subjective; Greek is not readable until
- > you know the language.
-
- I have to disagree here, C and C++ rely quite a bit on style. I personally
- can't read some styles on C and C++ the guys that put the starting brace
- on the same line as a conditional or a loop drive me batty and I need to
- use CDent to change the code just so I can read it. This coupled with the
- rampant use of preprocessor macros makes life tough for folks reading
- code.
-
- And if you think about it, it is a lot easier to find a BEGIN and END in a
- chunk of code than a { and }. They are just bigger and easier to spot.
- Which is why many code editors color the code so you can find things like
- braces and what nots.
-
- Jer
-
- --
- Jerome Jahnke
- BSD Academic Computing
- University of Chicago
- j-jahnke@uchicago.edu
-